package com.fbote.base;

public class BaseService implements IBaseService {
	protected IBaseDAO base ;
	public IBaseDAO getBase() {
		return base;
	}

	public void setBase(IBaseDAO base) {
		this.base = base;
	}

	public Object HQLByObject(String SQL) {
		return base.HQLByObject(SQL);
	}

	public boolean delete(Object obj) {
		return base.delete(obj);
	}

	public Object findById(Class clazz, Integer id) {
		return base.findById(clazz, id);
	}

	public boolean save(Object obj) {
		return base.save(obj);
	}

	public boolean update(Object obj) {
		return base.update(obj);
	}

}
